package com.tb.admin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.servlet.ModelAndView;

/**
 * @ClassName adminController
 * @Description TODO
 * @Author wangdk
 * @Date 2018/11/2016:37
 * @Version 1.0
 **/
@Controller
@RequestMapping(value = "admin")
public class adminController {

    @RequestMapping(value = "index" , method = RequestMethod.GET)
    public ModelAndView index(){
        ModelAndView mv = new ModelAndView();

        mv.setViewName("index");

        return  mv;
    }


}
